Minor warning cleanups for Fedora.
authorrobertlipe <robertlipe@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 23 Aug 2013 03:08:48 +0000 (03:08 +0000)
committerrobertlipe <robertlipe@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 23 Aug 2013 03:08:48 +0000 (03:08 +0000)
git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@4555 f51c46e8-681c-474f-0cfe-069cfd0219fb

gpsbabel/interpolate.cc
gpsbabel/skyforce.cc

index ce02ebeac29e772a4e4d3cfe4c33a04a8db12671..2f9a9b35ddfb5a04fa254c41f92addb675ced3f5 100644 (file)
@@ -27,7 +27,7 @@
 #define MYNAME "Interpolate filter"
 
 static char* opt_interval = NULL;
-int interval = 0;
+unsigned int interval = 0;
 static char* opt_dist = NULL;
 double dist = 0;
 static char* opt_route = NULL;
@@ -60,8 +60,8 @@ interpfilt_process(void)
   int count = 0;
   int first = 0;
   double lat1 = 0, lon1 = 0;
-  int time1 = 0;
-  int timen;
+  unsigned int time1 = 0;
+  unsigned int timen;
   double distn;
   double curdist;
   double rt1, rn1, rt2, rn2;
index 47a802a2a66e724c776f25f33fab799021a10ad2..b13a4c7dafcfa834580c923c6ac73bf6d9b59ddc 100644 (file)
@@ -91,7 +91,6 @@ skyforce_parse_wpt(const char* str, int* rte_num)
 static waypoint*
 skyforce_parse_trk(const char* str)
 {
-  char* cx;
   char buf[15];
   int len;